package com.example.demo.task;/**
 * 类描述
 *
 * @author 8522
 * @date 2021/10/8 17:25
 * 版权所有 Copyright www.dahantc.com
 */

import com.example.demo.dto.SysJobPO;
import com.example.demo.enums.SysJobStatus;
import com.example.demo.service.SysJobRepository;
import com.example.demo.util.CronTaskRegistrar;
import com.example.demo.util.SchedulingRunnable;
import com.example.demo.util.springUtil.OperationResUtils;
import org.springframework.stereotype.Component;

/**
 * @Description:
 * @Author: 8522
 * @Date: 2021/10/8  17:25
 * @Version v1.0
 */
@Component("demoTask")
public class DemoTask extends BaseTimedTask {

    public void taskWithParams(String params) {
        System.out.println("执行有参示例任务：" + params);
    }

    public void taskNoParams() {
        System.out.println("执行无参示例任务");

    }

}
